package com.wanda.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wanda.model.BuildModel;
import com.wanda.model.BuildProModel;

public interface BuildDAO {

	public void insertBuild(BuildModel model);//添加楼栋
	public int updateBuild(BuildModel model);//修改楼栋
	public int deleteBuild(BuildModel model);//删除楼栋
	public BuildModel selectById(String id);//查询楼栋ID
	public List<BuildProModel> selectAll();//显示所有楼栋信息
	public List<BuildModel> selectBySql(@Param("SeacherSql")String SeacherSql);
    public List<BuildProModel> selectAlll(String tel);
	public List<BuildProModel> selectBySqls(@Param("startPage")int page,@Param("endPage")int rows,@Param("SeacherSql")String SeacherSql);//分页

}
